import com.local.service.impl.UserServiceImpl;
import org.apache.cxf.jaxws.JaxWsServerFactoryBean;

/**
 * @author lou ke
 * @version 1.0
 * @since 2020/5/7 15:47
 */
public class Server {
    public static void main(String[] args) {
        JaxWsServerFactoryBean factoryBean = new JaxWsServerFactoryBean();

        factoryBean.setAddress("http://127.0.0.1:8000/user");

        factoryBean.setServiceBean(new UserServiceImpl());

        factoryBean.create();

        System.out.println("服务端启动");

    }
}
